package com.itce.arco.practicenote.day01.pracrice1;

import jdk.nashorn.internal.ir.CallNode;

public class Test {
    public static void main(String[] args) {
        // 创建收银员对象
        Cashier cashier = new Cashier();
        cashier.name = "收银员";
        cashier.id = "123";
        cashier.work();
        //  创建售货员对象
        Sales sales = new Sales();
        sales.name = "售货员";
        sales.id = "456";
        sales.work();
    }
}
